//____________________________________________________________________________//
// 
// mem_pool
BOOST_AUTO_TEST_CASE( mem_pool )
{
	HappyDB::Common::CMemPool<int> mem(101);
	void * p = mem.malloc();
	BOOST_CHECK( p != NULL);

	memset(p, 0, 101);
	memset(p, 'A', 100);
	char * s = (char *)p;
	BOOST_CHECK( strlen(s) == 100);

}